package com.probox.common.entity.domain.platfom;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 短信发送记录对象 platform_send_sms
 *
 *
 * @date 2021-06-22
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("platform_send_sms")
public class PlatformSendSms implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "send_id", type = IdType.AUTO)
    private Long sendId;
    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    private Long platformId;
    /**
     * 短信接收手机号码
     */
    @Excel(name = "短信接收手机号码")
    private String mobile;
    /**
     * 短信验证码
     */
    @Excel(name = "短信验证码")
    private String smsCode;
    /**
     * 短信发送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "短信发送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sendDate;
    /**
     * 短信验证时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "短信验证时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date validateDate;
    /**
     * 验证内容，可能出现输入不对，重复验证
     */
    @Excel(name = "验证内容，可能出现输入不对，重复验证")
    private String validateCode;
    /**
     * 状态，0未验证  1已验证
     */
    @Excel(name = "状态，0未验证  1已验证")
    private String state;
    /**
     * 有效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "有效时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date expireDate;
    /**
     * 消息
     */
    @Excel(name = "消息")
    private String msg;
    /**
     * ip地址
     */
    @Excel(name = "ip地址")
    private String ip;

}
